package com.ct.ah.lab.entity.vo;

import com.ct.ah.lab.entity.Order;
import com.ct.ah.lab.entity.User;
import lombok.ToString;

import java.util.Date;
@ToString
public class CashItemVo {
    private Integer id;
    private Integer uid;
    private Integer oid;//如果是消费商品，该字段不为null，记录订单号
    private Double changeCash;//一次性改变的账户钱数
    private Double remainCash;//改变后的剩余钱数
    private Integer cid;//如果是转账转入，记录转出人和如果是转账转出，记录接受人id
    private Integer  produceReason;//产出原因，1消费商品，2充值增加，3转账增加，4转账消费
    private Integer chargeStyle;//如果是充值，该字段不为null，充值方式，0是微信，1是翼支付
    private String createdUser;
    private Date createdTime;
    //vo新增字段
    private Order cashItemOrder;
    private User user;
    private String payTime;
    private String cname;
    private String orderCode;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Order getCashItemOrder() {
        return cashItemOrder;
    }

    public void setCashItemOrder(Order cashItemOrder) {
        this.cashItemOrder = cashItemOrder;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Double getChangeCash() {
        return changeCash;
    }

    public void setChangeCash(Double changeCash) {
        this.changeCash = changeCash;
    }

    public Double getRemainCash() {
        return remainCash;
    }

    public void setRemainCash(Double remainCash) {
        this.remainCash = remainCash;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getProduceReason() {
        return produceReason;
    }

    public void setProduceReason(Integer produceReason) {
        this.produceReason = produceReason;
    }

    public Integer getChargeStyle() {
        return chargeStyle;
    }

    public void setChargeStyle(Integer chargeStyle) {
        this.chargeStyle = chargeStyle;
    }

    public String getCreatedUser() {
        return createdUser;
    }

    public void setCreatedUser(String createdUser) {
        this.createdUser = createdUser;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }



    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }
}
